home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / vbasic / bc0623.zip / BC0623.TXT
Text File  |  1993-05-18  |  8KB  |  159 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.                  BC0623: GENERAL QUESTIONS AND ANSWERS
  4. ======================================================================
  5.                                               Revision Date: 4/93
  6.                                                           No Disk
  7.  
  8. The following information applies to Microsoft COBOL Professional
  9. Development System, version 5.0.
  10.  
  11.  --------------------------------------------------------------------
  12. | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
  13. | ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
  14. | Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
  15. | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
  16. | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
  17. | PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
  18. | accuracy and the use of this Application Note. This Application    |
  19. | Note may be copied and distributed subject to the following        |
  20. | conditions: 1) All text must be copied without modification and    |
  21. | all pages must be included; 2) If software is included, all files  |
  22. | on the disk(s) must be copied without modification [the MS-DOS(R)  |
  23. | utility DISKCOPY is appropriate for this purpose]; 3) All          |
  24. | components of this Application Note must be distributed together;  |
  25. | and 4) This Application Note may not be distributed for profit.    |
  26. |                                                                    |
  27. | Copyright 1993 Microsoft Corporation. All Rights Reserved.         |
  28. | Microsoft and MS-DOS are registered trademarks and Windows         |
  29. | is a trademark of Microsoft Corporation.                           |
  30.  --------------------------------------------------------------------
  31.  
  32. 1.  Q. What should I do when I receive a "Load failure 170" error on
  33.        ADIS.EXE or EXTFH.EXE?
  34.  
  35.     A. Determine which version of LINK.EXE you are using by typing
  36.        LINK at the MS-DOS command prompt. When Microsoft LINK displays
  37.        its banner message, note the linker version number. To develop
  38.        an application with Microsoft COBOL version 5.0, use LINK
  39.        version 5.31. If you have installed LINK 5.31 and a version of
  40.        LINK earlier than version 5.31 displays its banner message,
  41.        check the directories listed in your MS-DOS PATH environment
  42.        variable for another file named LINK.EXE, and rename the
  43.        earlier version of the linker. If you are using the correct
  44.        linker version and the error occurs, perhaps a required run-
  45.        time support module cannot be found in the current directory or
  46.        in a directory listed in the MS-DOS PATH. To determine the run-
  47.        time support modules that are necessary to successfully execute
  48.        an application, refer to the chapter titled "Linking and
  49.        Library Management" in the Microsoft COBOL "System Reference
  50.        for COBOL" manual for version 5.0 or the "COBOL Operating
  51.        Guide" manual for version 4.5.
  52.  
  53.        For more information, please refer to article Q84596 in the
  54.        article library section of the Languages FastTips system, or
  55.        query on Q84596 in the Microsoft Knowledge Base on
  56.        CompuServe(R).
  57.  
  58. 2.  Q. What should I do when I receive a "Cannot invoke ISAM.EXE"
  59.        error message when I run an application developed with COBOL
  60.        version 2.0 with MS-DOS version 5.0?
  61.  
  62.     A. Use SETVER.EXE to change the behavior of MS-DOS when ISAM.EXE
  63.        and NISAM.EXE run. SETVER creates a version table that lists
  64.        the name of an older executable program and the corresponding
  65.        version of MS-DOS that the program was designed to run with.
  66.        The syntax to invoke the SETVER utility is as follows:
  67.     
  68.           SETVER <application_name> <version_number>
  69.     
  70.        For example, if you previously used MS-DOS version 3.3, enter
  71.        the following command lines at the MS-DOS command prompt:
  72.  
  73.           SETVER ISAM.EXE 3.30
  74.           SETVER NISAM.EXE 3.30
  75.  
  76.        After you reboot your machine, ISAM.EXE and NISAM.EXE should
  77.        yield correct results.
  78.  
  79.        For more information, please refer to article Q78204 in the
  80.        article library of the Languages FastTips system, or query on
  81.        Q78204 in the Microsoft Knowledge Base on CompuServe.
  82.  
  83. 3.  Q. How do I pass parameters from an application developed in
  84.        Microsoft Visual Basic(TM) to a dynamic-link library (DLL)
  85.        developed in COBOL?
  86.  
  87.     A. COBOL version 5.0 includes a complete sample program to
  88.        demonstrate this technique. By default, the sample program is
  89.        installed in the SAMPLES\VBDEMO directory. The VBCOBDLL batch
  90.        file contains all the commands needed to build the application.
  91.  
  92. 4.  Q. What are the major differences between COBOL version 4.5 and
  93.        COBOL version 5.0?
  94.  
  95.     A. The major differences between COBOL version 4.5 and version 5.0
  96.        are as follows:
  97.  
  98.        - Improved support for Microsoft Windows versions 3.0 and 3.1:
  99.          COBOL 5.0 supports a shared run-time system (COBLIB) with
  100.          Windows 3.0 and 3.1. The run-time system is provided as
  101.          COBLIB.DLW.
  102.  
  103.        - Animator improvements: The Animator can monitor many data
  104.          items simultaneously. Each item is displayed in its own
  105.          window on the screen.
  106.       
  107.        - PANELS character-window tool: PANELS enables an application
  108.          to create multiple windows on a character-mode screen. PANELS
  109.          also supports sending ACCEPT/DISPLAY statements to the
  110.          different windows. These features ease developing pull-down
  111.          menus, pop-up windows, and so forth, on a character-mode
  112.          screen.
  113.       
  114.        - Extfh/Btrieve Interface: COBOL 5.0 provides new modules to
  115.          allow an application that uses standard COBOL file-handling
  116.          syntax to access Btrieve(R) files. Another module allows an
  117.          application that makes calls to Btrieve to access indexed-
  118.          sequential files created using the standard COBOL file
  119.          handler (EXTFH).
  120.       
  121.        - Mainframe compatibility enhancements: COBOL 5.0 supports the
  122.          DOS/VS COBOL dialect.
  123.       
  124.        - Supports Western National Language Standards (NLS): COBOL 5.0
  125.          provides the NLS compiler directive to indicate that a
  126.          program should use a specified language, territory, and code
  127.          page. Given this information, the program uses the
  128.          appropriate collating sequence for comparisons, and the
  129.          appropriate characters for currency signs, decimal
  130.          separators, and thousands separators.
  131.  
  132. 5.  Q. How can I correct the LINK errors and warnings I receive when I
  133.        rebuild an overlaid application originally built with COBOL
  134.        version 4.5?
  135.  
  136.     A. Specify the /OLDOVERLAY option on the LINK command line. By
  137.        default, LINK version 5.31 does not support static overlays in
  138.        an application. In Programmer's WorkBench (PWB), when the
  139.        Segmented Program option is selected, PWB automatically adds
  140.        the /OLDOVERLAY option to the LINK command line.
  141.  
  142. 6.  Q. Why do I receive the message "That key has no meaning here"
  143.        when I press a function key in a COBOL application?
  144.  
  145.     A. The error occurs when the function keys have been disabled,
  146.        which is the default. To change this behavior, use the ADISCF
  147.        utility to update the ADISCTRL configuration file. If the
  148.        problem persists, verify that the application can load the
  149.        ADISCTRL file. ADISCTRL must be in the same directory as the
  150.        program, or the MS-DOS COBDIR environment variable must point
  151.        to the directory where the file is located.
  152.  
  153.        For more information, please refer to article Q35832 in the
  154.        article library of the Languages FastTips system, or query on
  155.        Q35832 in the Microsoft Knowledge Base on CompuServe.
  156.  
  157.  
  158.  
  159.